home *** CD-ROM | disk | FTP | other *** search
- on(press){
- if(_root.spoints > 0)
- {
- if(_root.sum < 5)
- {
- _root.sum += 1;
- _root.sum1 = "Spells: " + _root.sum;
- _root.spoints -= 1;
- _root.mstats = "You currently have " + _root.spoints + " stats.";
- }
- else
- {
- _root.no = "Spells currently maxed!";
- }
- }
- else
- {
- _root.no = "You have no more points!";
- }
- }
-